package bean;

public class Item {
	private int iid;
	private String iname;
	private int curvid;
	private int parent;
	private int level;
	private int root;
	public Item(){
		iid = 0;
		iname = null;
		curvid = 0;
		parent = 0;
		root = 0;
		level = 0;
	}
	public boolean isNull(){
		if (iid == 0) return true;
		else return false;
	}
	public int getIid() {
		return iid;
	}
	public void setIid(int iid) {
		this.iid = iid;
	}
	public String getIname() {
		return iname;
	}
	public void setIname(String iname) {
		this.iname = iname;
	}
	public int getCurvid() {
		return curvid;
	}
	public void setCurvid(int curvid) {
		this.curvid = curvid;
	}
	public int getParent() {
		return parent;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public int getRoot() {
		return root;
	}
	public void setRoot(int root) {
		this.root = root;
	}
}
